package org.jeecg.modules.flower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 预出库结算单汇总表
 * @Version: V1.0
 */
@ApiModel(value="预出库结算单汇总表", description="预出库结算单汇总表")
@Data
public class FlowerOrderPreCountList implements Serializable {
    private static final long serialVersionUID = 1L;

	/**订单号*/
    @TableId(type = IdType.ASSIGN_ID)
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private String no;

    @Excel(name = "渠道", width = 15)
    @ApiModelProperty(value = "渠道")
    private String channel;

    @Excel(name = "账号", width = 15)
    @ApiModelProperty(value = "账号")
    private String accountno;

	/**出库时间*/
	@Excel(name = "出库时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出库时间")
    private Date times;

    @Excel(name = "财务确认时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "财务确认时间")
    private Date finaSureTime;


    /**出库数量*/
    @Excel(name = "出库数量", width = 15, type=4)
    @ApiModelProperty(value = "出库数量")
    private Integer number;

    @Excel(name = "总价", width = 15, type=4)
    @ApiModelProperty(value = "'总价'")
    private BigDecimal totalprice;


    @Excel(name = "是否需要开票", width = 15)
    @ApiModelProperty(value = "是否需要开票")
    private String isinvoice;

}
